package com.happyghost.thread.prod_consumer_demo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class Task {

    private int taskNum;

    private String word;

    public String getWordToCopy(){
        return word;
    }


    public int getLeftCopyCount() {
        return taskNum;
    }



}
